home *** CD-ROM | disk | FTP | other *** search
Makefile | 1998-08-12 | 708 b | 38 lines |
- #! smake
- #
- # Copyright (c) Mark J. Kilgard, 1997.
- #
-
- TOP = ../..
- include $(TOP)/glutdefs
- include $(ROOT)/usr/include/make/commondefs
-
- TARGETS = libmui.a
-
- LN = ln -s
- MV = mv
- RM = -rm -rf
-
- LCOPTS = -I$(TOP)/include -fullwarn
- LWOFF = ,813,852,827,826
- LDIRT = *~ *.bak
- LLDLIBS = -lGLU -lGL -lXmu -lXext -lX11 -lm
-
- SRCS = gizmo.c glutmui.c displaylist.c uicolor.c miscui.c mui.c vslider.c \
- textlist.c button.c pulldown.c hslider.c
-
- OBJS = $(SRCS:.c=.o)
-
- default: $(TARGETS)
-
- sinclude ObjectType.mk
-
- libmui.a: $(OBJS)
- $(RM) $@
- $(AR) crl $@ $(OBJS)
-
- browser: browser.o browseparse.o libmui.a ../glut/libglut.a
- $(CC) -o $@ browser.o browseparse.o libmui.a ../glut/libglut.a $(LDFLAGS)
-
- include $(COMMONRULES)
-